package com.logic.landseaserver.persistence.read;

import java.util.List;

import com.logic.common.util.QueryUtil;
import com.logic.landseaserver.domain.Property;
import com.logic.landseaserver.ws.dto.PropertyDTO;
import com.logic.landseaserver.ws.dto.PropertyHistoryDTO;
import com.logic.landseaserver.ws.request.StatisticsByStatusReq;
import com.logic.landseaserver.ws.response.PropertyDetailResp;
import com.logic.landseaserver.ws.response.StatisticsByStatusResp;

public interface PropertyReadMapper {
    Property selectByPrimaryKey(Integer id);

    List<PropertyDTO> queryPropertyPage(QueryUtil util);

    List<PropertyDTO> queryReportPage(String[] ids);

    Integer getMaxCityCode(String areaCode);

    PropertyDetailResp selectDetailById(Integer id);

    List<PropertyHistoryDTO> queryPropertyHistory(Integer id);

    Integer checkUniqueName(Property property);

    Integer checkPropertyStatus(String[] ids);

    List<StatisticsByStatusResp> statisticsByStatus(StatisticsByStatusReq req);

	List<PropertyDTO> queryDTO(QueryUtil queryUtil);

}